/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.rwfz.entity;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.User;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 任务分组Entity
 * @author lrz
 * @version 2016-12-22
 */
public class DrRwXzyr extends DataEntity<DrRwXzyr> {
	
	private static final long serialVersionUID = 1L;
	private DrRwXz xzId;		// 小组ID 父类
	private String rwId;		// 任务ID
	private String jhId;		// 计划ID
	private String sxId;		// 事项ID
	private User user;		// 人员ID
	private String zz;		// 是否组长
	
	public DrRwXzyr() {
		super();
	}

	public DrRwXzyr(String id){
		super(id);
	}

	public DrRwXzyr(DrRwXz xzId){
		this.xzId = xzId;
	}

	@Length(min=0, max=64, message="小组ID长度必须介于 0 和 64 之间")
	public DrRwXz getXzId() {
		return xzId;
	}

	public void setXzId(DrRwXz xzId) {
		this.xzId = xzId;
	}
	
	@Length(min=0, max=64, message="任务ID长度必须介于 0 和 64 之间")
	public String getRwId() {
		return rwId;
	}

	public void setRwId(String rwId) {
		this.rwId = rwId;
	}
	
	@Length(min=0, max=64, message="计划ID长度必须介于 0 和 64 之间")
	public String getJhId() {
		return jhId;
	}

	public void setJhId(String jhId) {
		this.jhId = jhId;
	}
	
	@Length(min=0, max=64, message="事项ID长度必须介于 0 和 64 之间")
	public String getSxId() {
		return sxId;
	}

	public void setSxId(String sxId) {
		this.sxId = sxId;
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public String getZz() {
		return zz;
	}

	public void setZz(String zz) {
		this.zz = zz;
	}
	
}